package cn.com.smartdevices.bracelet.chart.util;

import android.animation.ValueAnimator;
import android.animation.ValueAnimator.AnimatorUpdateListener;
import android.widget.TextView;

import com.goodving.guli.bt.utils.WeightUtil;

/* renamed from: cn.com.smartdevices.bracelet.chart.util.n */
final class C0798n implements AnimatorUpdateListener {
    final /* synthetic */ TextView f4084a;
    final /* synthetic */ int f4085b;

    C0798n(TextView textView, int i) {
        this.f4084a = textView;
        this.f4085b = i;
    }

    public void onAnimationUpdate(ValueAnimator valueAnimator) {
        this.f4084a.setText(String.valueOf(WeightUtil.m15716c(((Float) valueAnimator.getAnimatedValue()).floatValue(), this.f4085b)));
    }
}
